from machine import Pin

import utime as time

net_led = Pin(Pin.GPIO36, Pin.OUT,Pin.PULL_PD,0)

def led_warning_task():
    for i in range(5):
        net_led.value(1)
        time.sleep(0.5)
        net_led.value(0)
        time.sleep(0.5)
if __name__ == '__main__':
    led_warning_task()
